<!-- $Id: item_search.htm 16790 2009-11-10 08:56:15Z wangleisvn $ -->
<div class="form-div">
  <form action="javascript:searchitem()" name="searchForm">
    <img src="images/icon_search.gif" width="26" height="22" border="0" alt="SEARCH" />
    <!-- 分类 -->
    <select name="cat_id"><option value="0">{$lang.item_cat}</option>{$cat_list}</select>
		<!-- 转化 -->
		<select name="is_convert"><option value=''>{$lang.is_convert}</option><option value="1">{$lang.yes_convert}</option><option value="0">{$lang.no_convert}</option></select>
		<!-- 佣金 -->
		<select name="commission"><option value=''>{$lang.commission_amount}</option><option value="1">{$lang.commission_1}</option><option value="0">{$lang.commission_0}</option></select>
    <!-- 昵称 -->
    {$lang.nick} <input type="text" name="nick" value="{$nick}" size="15" />
    <!-- 关键字 -->
    {$lang.keyword} <input type="text" name="keyword" size="15" />
    <input type="submit" value="{$lang.button_search}" class="button" />
  </form>
</div>

{literal}
<script language="JavaScript">
    function searchitem()
    {
        listTable.filter['cat_id'] = document.forms['searchForm'].elements['cat_id'].value;
        listTable.filter['is_convert'] = document.forms['searchForm'].elements['is_convert'].value;
        listTable.filter['nick'] = document.forms['searchForm'].elements['nick'].value;
        listTable.filter['commission'] = document.forms['searchForm'].elements['commission'].value;
        listTable.filter['keyword'] = Utils.trim(document.forms['searchForm'].elements['keyword'].value);
        listTable.filter['page'] = 1;

        listTable.loadList();
    }
</script>
{/literal}